#if !defined(AFX_DOCKCONTROLBAR_H__2F8723E2_205A_46B7_A72B_6CA21651607B__INCLUDED_)
#define AFX_DOCKCONTROLBAR_H__2F8723E2_205A_46B7_A72B_6CA21651607B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DockControlBar.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDockControlBar window
#include "DockMenuDlg.h"

class CDockControlBar : public CAdUiDockControlBar
{
	DECLARE_DYNCREATE(CDockControlBar)
// Construction
public:
	CDockControlBar( CString szMenuFileName, CStringArray & arrSectionBeShow);
	virtual ~CDockControlBar();


private:
	CDockControlBar();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDockControlBar)
	protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual bool OnClosing();
	//}}AFX_VIRTUAL

// Implementation

	// Generated message map functions
public:
	void FitDlgToBar(void);
	
protected:
	
	CDockMenuDlg m_DlgDockMenu;
	CStringArray m_arrSectionBeShow;
	//{{AFX_MSG(CDockControlBar)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnDestroy();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DOCKCONTROLBAR_H__2F8723E2_205A_46B7_A72B_6CA21651607B__INCLUDED_)
